package com.app.mapper;

import com.app.model.MotionVideoModel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface MotionVideoMapper extends BaseMapper<MotionVideoModel> {
    List<MotionVideoModel> getVideoList(Integer page, Integer limit, String keyword, Integer type);
    List<MotionVideoModel> selectVideoList(Integer page, Integer limit, String keyword, Integer type);

    int getVideoCount(String keyword, Integer type);
    int selectVideoCount(String keyword, Integer type);
}
